package rfcomm;

import javax.bluetooth.RemoteDevice;
import javax.microedition.io.StreamConnection;

public class PairNeighborConnection
{
    private final RemoteDevice neighbor;
    private final StreamConnection sc;
    
    public PairNeighborConnection( RemoteDevice neighbor , StreamConnection sc ) {
        this.neighbor = neighbor;
        this.sc = sc;
    }

    public RemoteDevice getNeighbor()
    {
        return neighbor;
    }

    public StreamConnection getSc()
    {
        return sc;
    }   
}
